package com.andy.service;

import java.util.List;
import java.util.Map;

import com.andy.vo.ExamScoreVO;
import com.andy.vo.ExamSubjectVO;
import com.andy.vo.ExamTestVO;

public interface ITestService {

	public Map<Integer, List<ExamTestVO>> getTestListBySubject(Integer subId, String userId);

	public ExamScoreVO calculateScore(List<Integer> answerIds, Map<String, String[]> testMap, String userId, Integer subId);

	public ExamSubjectVO getSubjectById(Integer subId);

	public ExamScoreVO getScore(Integer subId, String userId);

}
